// Fig. 3.13: fig03_13.cpp
// GradeBook class demonstration after separating 
// its interface from its implementation.
#include <iostream>
using std::cout; 
using std::cin;
using std::endl;

#include "GradeBook.h" // include definition of class GradeBook

// function main begins program execution
int main()
{
   // create two GradeBook objects
   string course, instructor;
   cout << "Please enter the course name: ";
   cin >> course;
   cout << "Please enter the instructor's name: ";
   cin >> instructor;

   GradeBook gradeBook1( course, instructor );
   
   cout << endl << "gradeBook1 created for course: " << gradeBook1.getCourseName()
      << endl << endl;

   gradeBook1.displayMessage();

   return 0; // indicate successful termination
} // end main

